package com.example.springboot2.oa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot2.oa.entity.TStudent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author llfy
 * @since 2018-11-23
 */
public interface TStudentMapper extends BaseMapper<TStudent> {


    TStudent getStudentByStudno(TStudent student);

    TStudent getUser(TStudent user);

    TStudent getUserByNameAndId(TStudent student);

    List<TStudent> listStudent(@Param("name") String name);
}
